package com.diligent.cloud.sfc.model.info;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * AluminumStickInfo class
 * 铝棒信息实体
 * 铸锭号：lotCode
 * 预计棒温 ：userTxt1
 * 加温时长：userTxt2
 * 炉次号：docItem
 * 上机时间：beginTime
 *
 * @author xf107278
 * @date 3/1/2020
 */
@Data
@ToString
@Accessors(chain = true)
@ApiModel(value = "铝棒信息", description = "铝棒信息")
public class AluminumStickInfo {

    @ApiModelProperty(value = "编号", position = 1)
    private Long id;

    @ApiModelProperty(value = "铸锭号", position = 2)
    private String lotCode;

    @ApiModelProperty(value = "预计棒温", position = 3)
    private String userTxt1;

    @ApiModelProperty(value = "加温时长", position = 4)
    private String userTxt2;

    @ApiModelProperty(value = "炉次号", position = 5)
    private Integer docItem;

    @ApiModelProperty(value = "上机时间", position = 6)
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date beginTime;

    @ApiModelProperty(value = "合金编码", position = 7)
    private String alloyCode;

    @ApiModelProperty(value = "棒径", position = 8)
    private Integer rodDiameter;

    @ApiModelProperty(value = "长度", position = 9)
    private Integer length;

}
